import { ILoginState } from './login/type'
import { ITagState } from './tag/type'
// import { ISystemState } from './system/type'

// 根 state 有新增属性，要在这里定义
interface IRootState {
  name: string
  age: number
}

// 有新增模块在这里注册
interface IRootWithModule {
  login: ILoginState
  tag: ITagState
  // system: ISystemState
}

type IStoreType = IRootState & IRootWithModule

export { IRootState, IRootWithModule, IStoreType }
